/**
 * 职位申请套件
 */
export const postApplyChildren = [
    {
        label: '职级',
        formId: 'rankCode',
        tag: 'Input',
        rules: [
            {
                required: true,
                message: '请选择职级'
            }
        ],
        options: {
            disabled: true
        },
        proCondition: true,
        isUsed: false,
        conditionShowOption: { valueMode: 'multiple', showType: 'select', fetchType: 'grade' },
        isSummary: true,
        inFormAuth: false
    },
    {
        label: '职位',
        formId: 'positionName',
        tag: 'Input',
        rules: [
            {
                required: true,
                message: '请选择职位'
            }
        ],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false
    },
    {
        label: '操作类型',
        formId: 'operationType',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    }
];

export const postApplyControl = {
    label: '职位申请',
    cmpType: 'custom',
    formId: '',
    key: 'PostApply',
    tag: 'PostApply',
    formStyle: true,
    tagIcon: 'iconprocess_common_supplementcard_icon',
    children: postApplyChildren,
    proCondition: true,
    isUsed: false
};
